<%@page import="com.windfone.common.Constant"%>
<%@ page language="java" contentType="text/html; charset=utf-8"    pageEncoding="utf-8"%>
<%@ taglib uri="/WEB-INF/recommend.tld" prefix="windfone" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>风驰电讯  您最贴心的手机顾问  用户订单编辑</title>
<%@ include file="headkey.jsp" %>
<%@ include file="head.jsp" %>
 <script>
	function alipayFormSubmit(){
		var alipayForm = document.getElementById("alipayForm");
		alipayForm.submit();
	}
	function cncardFormSubmit(){
		var cncardForm = document.getElementById("cncardForm");
		cncardForm.submit();
	}
	function editFormSubmit(orderSeq){
		window.location.href="memberOrderEdit.action?orderSeq="+orderSeq;
	}
	function delSubmit(orderSeq){
		window.location.href="memberOrderDelete.action?orderSeq="+orderSeq;
		
		
	}
</script>
<link href="css/css.css" rel="stylesheet" type="text/css" />
</head>

<body id="pages9">

<!--头部-->
 <%@ include file="navigate.jsp"%>
<!--内容-->
<div class="contentBox"><!--左区-->
<div class="col2" style="width:990px">
  <div class="tabLeBoxB" style=" padding-top:0">
  <div class="title">
    <h3>购物车</h3></div>
<div class="borderBox">
<div><img src="images/sopping4.gif" width="934" height="81" /></div>
<div style="width: 890px;" class="odb w985_p20">
			<div class="onum">请记录您的订单号：${receiveMsg.orderSeq }</div>
			<form method="post" action="memberOrderUpdate.action">
			<dl class="rec_1">
				<dd class="item1"><span class="black_b">收 货 人：</span> <input type="text" name="name"  value="${ receiveMsg.name}"/></dd>
				<dd class="item1"><span class="black_b">详细地址：</span> <input type="text" name="detailaddress"   value="${ receiveMsg.detailaddress}"/></dd>
				<dd class="item1"><span class="black_b">联系电话：</span><input type="text" name="telnumber"  value="${ receiveMsg.telnumber}"/> <input type="text" name="mobile"  value="${ receiveMsg.mobile}"/> </dd>
				<dd class="item1"><span class="black_b">邮政编码：</span> <input type="text" name="zipcode"  value="${ receiveMsg.zipcode}"/></dd>
				<dd class="item1"><span class="black_b">配送方式：</span> 
				    <c:if test="${ receiveMsg.postType == 2 }"> 顺丰快递（<span class="red">运输费： 0.00元</span>）</c:if>
					<c:if test="${receiveMsg.postType == 1 }"> EMS 快递（<span class="red">运输费： 40.00元</span>）</c:if>
				</dd>
				<dd class="item2">
					<span class="black_b">支付类型：</span> 
					在线支付（<span class="red">手续费： 0.00元</span>）
				</dd>
			</dl>
			<dl class="rec_2">
				<dd class="item1">支付方式：</dd>
				<dd class="item2">
					<c:if test="${receiveMsg.payType == '1' }">
						<p>推荐一：云网在线支付 <font style="color: rgb(255, 0, 0);">免收手续费</font></p>
					</c:if>
					<c:if test="${receiveMsg.payType == '2' }">
						<p>推荐二：支付宝在线支付  <font style="color: rgb(255, 0, 0);">免收手续费</font></p>
					</c:if>
				</dd>
				<dd class="item1">备注：</dd>
				<dd class="item3"><textarea cols="80" rows="3" name="memo" >${ receiveMsg.userMemo}</textarea></dd>
			</dl>
			<input  type="hidden" name="orderSeq"  value="${ receiveMsg.orderSeq}"/>
			<input type="submit"/><input type="button" onclick="javascript:window.location.href='memberCenter.action'" value="返回会员中心"/>
			</form>
			<div class="floatend"></div>
			<div class="pd15"></div>
			<table>
				 <tr>
					<th colspan="7">我购买的商品信息</th>
				</tr>
				<tr>
					<td class="center"><span class="black_b">商品类别</span></td>
					<td class="center"><span class="black_b">商品名称</span></td>
					<td class="center"><span class="black_b">属性</span></td>
					<td class="center"><span class="black_b">配件</span></td>
					<td class="center"><span class="black_b">单价</span></td>
					<td class="center"><span class="black_b">数量</span></td>
					<td class="center"><span class="black_b">小计</span></td>
				</tr>
				  <c:forEach var="mobile" items="${orderList}" varStatus="status"> 
				<tr>
					  <td class="center">
					  		<c:if test="${mobile.goodstype == 0 }">手机</c:if>
			  			<c:if test="${mobile.goodstype == 1 }">配件</c:if>
			  			</td>
					  <td class="center">
					  ${mobile.name }
					  </td>
					  <td class="center">
					  	<c:if test="${ mobile.colorName != null }">${ mobile.colorName }</c:if>
					  </td>
					  <td class="center">${mobile.standard}</td>
					  <td class="center">
					    <span class="green_b">¥${mobile.price }</span>
					  </td>
					  <td class="center">
					    <span class="red">${ mobile.orderNumber }</span>
					  </td>
					  <td class="center">
					    <span class="green_b">¥${mobile.price * mobile.orderNumber }</span>
					  </td>
					  <c:set var="total" value="${total+ (mobile.price * mobile.orderNumber)}"/>
				</tr>
				</c:forEach>
			 </table>
			<div class="o_price">
				<span class="red">商品总额：</span><span style="padding-right: 20px;" class="red_b">￥${total }</span>
				<span class="red">附加总额：</span><span style="padding-right: 20px;" class="red_b">￥0.00</span>
				<span class="red">支付费率：</span><span style="padding-right: 20px;" class="red_b">￥0.00</span>
				<span class="red">配送费率：</span><span style="padding-right: 20px;" class="red_b">￥${receiveMsg.postcost }</span>
				<span class="red">积分兑换（0分）：</span><span class="red_b">￥0.00</span>
			</div>
			<div class="o_price"><span class="red">订单总额：</span><span style="font-size: 28px;" class="red_b">￥${receiveMsg.totalCost}</span></div>
			<div class="pd15"></div>
			<div style="text-align: center;">
				<div id="panOnline">
				 
				</div>
			</div>
		</div>
<div class="clear"></div>
</div>
</div>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
    <%@ include file="bottom.jsp" %>
</body>
</html>
